package bean;

/**
 * @author 栋
 * @date 2022/11/7
 * @description  用户信息类
 */
public class Users {
    private String user_id;//用户编号
    private String phone_number;//用户手机号
    private String user_name;//用户名
    private String user_pwd;//用户密码
    private String sex;//性别
    private String introduce;//用户介绍
    private String stu_number;//用户学号
    private String credit_number;//用户银行卡号
    private String address;//默认地址

    public Users() {
    }

    public Users(String user_id, String phone_number, String user_name, String user_pwd, String sex, String introduce, String stu_number, String credit_number, String address) {
        this.user_id = user_id;
        this.phone_number = phone_number;
        this.user_name = user_name;
        this.user_pwd = user_pwd;
        this.sex = sex;
        this.introduce = introduce;
        this.stu_number = stu_number;
        this.credit_number = credit_number;
        this.address = address;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getPhone_number() {
        return phone_number;
    }

    public void setPhone_number(String phone_number) {
        this.phone_number = phone_number;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getUser_pwd() {
        return user_pwd;
    }

    public void setUser_pwd(String user_pwd) {
        this.user_pwd = user_pwd;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public String getStu_number() {
        return stu_number;
    }

    public void setStu_number(String stu_number) {
        this.stu_number = stu_number;
    }

    public String getCredit_number() {
        return credit_number;
    }

    public void setCredit_number(String credit_number) {
        this.credit_number = credit_number;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "users{" +
                "user_id='" + user_id + '\'' +
                ", phone_number='" + phone_number + '\'' +
                ", user_name='" + user_name + '\'' +
                ", user_pwd='" + user_pwd + '\'' +
                ", sex='" + sex + '\'' +
                ", introduce='" + introduce + '\'' +
                ", stu_number='" + stu_number + '\'' +
                ", credit_number='" + credit_number + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
